<template>
  <div ref="myDiv">
    hello
  </div>
</template>

<script setup>
  import { ref, onMounted } from 'vue'
  const myDiv = ref(null)
  onMounted(() => {
    console.log(myDiv.value)
  })
</script>

<style lang="less" scoped>

</style>
